package com.es.www.xml.service.impl;

import com.es.www.xml.service.DogService;

/**
 * @Created by michangtao
 * @Date 2022/2/7 13:45
 * @Description
 */
public class DogServiceImpl implements DogService {

    @Override
    public void bark() {
        System.out.println("汪汪汪");
    }

    @Override
    public <T> void eat(T food) {
        System.out.println("修勾吃" + food);
    }

    @Override
    public String find(String name) {
        System.out.println("修勾找到了" + name);
        return "柴柴";
    }
}
